package com.huanbao.nongwu.pojo.beans;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("area")
public class Area {

    @TableId(value = "id",type = IdType.AUTO)//指定自增策略
    private Integer id;

    @TableField(value = "pid")
    private Integer pid;

    @TableField(value = "name")
    private String name;

    @TableField(value = "introduce")
    private String introduce;

    @TableField(value = "coordinatex")
    private Double coordinatex;

    @TableField(value = "coordinatey")
    private Double coordinatey;

    @TableField(value = "issendarea")
    //是否是短信发送的地区
    private String issendarea;

}